package Demo1;

class Parent {
    public void printMe() {
        System.out.println("Parent_print");
    }
}

class Child extends Parent {
    public void printMe() {
        System.out.println("Child_print");
    }

    public void printAll() {
        super.printMe();
        this.printMe();
        printMe();
    }
}
public class t1 {
    public static void main(String[] args) {
        Child child = new Child();
        child.printAll();
    }
}
